/* 头尾各个页面相同的样式 */
/* 版心 */
.wrapper {
    margin: 0 auto;
    width: 1240px;
}

/* 快捷导航 */
.shortcut {
    background-color: #333;
}

.shortcut .wrapper {
    display: flex;
    justify-content: flex-end;
    height: 52px;
}

.shortcut ul {
    display: flex;
    line-height: 52px;
}

.shortcut li a {
    padding: 0 15px;
    border-right: 1px solid #999;
    font-size: 14px;
    color: #fff;
}

.shortcut li:last-child a {
    border-right: 0;
}

.shortcut li .iconfont {
    margin-right: 4px;
}

.shortcut .login {
    color: #5EB69C;
}

/* 头部导航 */
.header {
    display: flex;
    margin: 22px auto;
    height: 88px;
    align-items: center;
}

/* logo */
.logo {
    margin-right: 40px;
    width: 200px;
    height: 88px;
}

.logo a {
    display: block;
    width: 200px;
    height: 88px;
    background-image: url(../images/logo.png);
    font-size: 0;
}

/* 导航 */
.nav {
    margin-right: 28px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 47px;
}

.nav li a {
    padding-bottom: 10px;
}

.nav li a:hover {
    border-bottom: 2px solid #5EB69C;
    color: #5EB69C;
}

/* 搜索 */
.search {
    display: flex;
    margin-right: 45px;
    width: 170px;
    height: 34px;
    border-bottom: 2px solid #f4f4f4;
}

.search .iconfont {
    margin-right: 8px;
    font-size: 18px;
    color: #ccc;
}

.search input {
    width: 0;
    flex: 1;
}

.search input::placeholder {
    font-size: 16px;
    color: #ccc;
}

/* 购物车 */
.cart {
    position: relative;
}

.cart .iconfont{
    font-size: 24px;
}

.cart i {
    position: absolute;
    top: 1px;
    left: 12px;
    padding: 0 6px;
    height: 15px;
    background-color: #e26237;
    border-radius: 8px;
    font-size: 14px;
    color: #fffefe;
    line-height: 15px;
}